﻿using HaoCoding.DCdb.Data;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace HaoCoding.DCdb.Database
{
    /// <summary>
    /// 轻量级表
    /// </summary>
    public class XTablePortable : ITable<IData, IData>
    {
        #region ITable<IKey, IRecord>

        /// <summary>
        /// 按升序枚举表行
        /// </summary>
        /// <returns></returns>
        public IEnumerable<KeyValuePair<IData, IData>> Forward()
        {

        }

        public IEnumerator<KeyValuePair<IData, IData>> GetEnumerator()
        {
            return Forward().GetEnumerator();
        }

        IEnumerator IEnumerable.GetEnumerator()
        {
            return GetEnumerator();
        }

        #endregion
    }
}
